package com.hlw.lz.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * Desc：
 * User：ZhaoBiao
 * Date：2018-04-09
 * Time：15:26
 */
@Controller("testController")
@RequestMapping("/")
public class TestController {


    @RequestMapping("getIndex")
    public ModelAndView getIndex(HttpServletRequest request, HttpServletResponse response){

        ModelAndView model = new ModelAndView();
        model.setViewName("/text/index");
        return model;

    }



}
